package com.glela.goods.mapper;

import com.glela.goods.model.MarketingActivities;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketingActivitiesMapper {

    MarketingActivities selectByPrimaryKey(Integer id);
    
	List<MarketingActivities> selectWithType1(@Param("nowTime")String nowTime);

	List<MarketingActivities> selectByPidWithType2(@Param("pId") Integer pId);

    List<MarketingActivities> selectWithUseType2(@Param("nowTime")String nowTime);

    List<MarketingActivities> selectActivitiesByPid(Integer pId);
}